
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.service.common;

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.enums.CommonEnum;
import com.hlkj.pay.dto.common.MessageRecordQueryDto;
import com.hlkj.pay.infrastructure.model.common.MessageRecordDO;

import java.util.List;

/**
 * @author monk@techsun.com
 * @date 2023/04/25 9:33
 */
public interface IMessageRecordService {

    /**
     * queryPage
     * @param messageRecordQueryDto
     * @return
     */
    PageResult<MessageRecordDO> queryPage(MessageRecordQueryDto messageRecordQueryDto);
    /**
     * queryList
     * @param messageRecordQueryDto
     * @return
     */
    List<MessageRecordDO> queryList(MessageRecordQueryDto messageRecordQueryDto);

    /**
     * detail
     * @param messageId
     * @return
     */
    MessageRecordDO detail(String messageId);

    /**
     * addMessageRecord
     * @param messageRecordDO
     */
    void addMessageRecord(MessageRecordDO messageRecordDO);

    /**
     * addMessageRecordList
     * @param messageRecordList
     */
    void addMessageRecordList(List<MessageRecordDO> messageRecordList);

    /**
     * updateMessageRecordStatus
     * @param messageList
     * @param submitSuccess
     */
    void updateMessageRecordStatus(List<MessageRecordDO> messageList, CommonEnum.STATUS submitSuccess);
    
}
